import "./App.css";
import { ConfigProvider } from "antd";
import { RouterProvider } from "react-router-dom";
import routes from "@/router/routers";
document.title = "React App";

function App() {
  return (
    <ConfigProvider
      theme={{
        token: {
          // Seed Token，影响范围大
          colorPrimary: "#d3002c",
          colorLink: "#d3002c",
          borderRadius: 4,
          controlHeight: 30,
          colorBgContainer: "#fff",
          // colorText: "#d7d8da",
          colorText: "#717f94",
          // colorTextQuaternary: "#d7d8da",
          // colorTextSecondary: "#6b7788",
          // colorTextTertiary: "#6b7788",
          // colorTextBase: "red",
        },
      }}
    >
      <RouterProvider router={routes} />
    </ConfigProvider>
  );
}

export default App;
